package com.heima.model.behavior.dtos;

import com.heima.model.common.annotation.IdEncrypt;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LikesBehaviorDto implements Serializable {

    /**
     * 文章id
     */
    @IdEncrypt
    private Long articleId;

    /**
     * 0 点赞
     * 1 取消点赞
     */
    private Short operation;

    /**
     * 0文章
     * 1动态
     * 2评论
     */
    private Short type;


}
